/********************************************
*
*	File: 		op_defines.h
*	Name: 		Rob King
*	Project:	Project 2
*
********************************************/

#ifndef OP_DEFINES_H_
#define OP_DEFINES_H_

/* Load/Store Instructions */
#define	LR	0x4C52
#define	LL	0x4C4C
#define	LH	0x4C48
#define	SR	0x5352

/* Stack Instructions */
#define	SP	0x5350
#define	PS	0x5053
#define	PH	0x5048
#define	PP	0x5050

/* Compare Instructions */
#define	CE	0x4345
#define	CL	0x434C

/* Branch Instructions */
#define	BT	0x4254
#define	BU	0x4255

/* Get/Put Data Instructions */
#define	GD	0x4744
#define	PD	0x5044

/* Math Instructions */
#define	AD	0x4144
#define	SU	0x5355
#define	MU	0x4D55
#define	DI	0x4449

/* Stack Math Instructions */
#define	AS	0x4153
#define	SS	0x5353
#define	MS	0x4D53
#define	DS	0x4453

/* No-op and Halt */
#define	NP	0x4E50
#define	H	0x4820

/* Message Functions */
#define	SD	0x5344
#define	RC	0x5243

/* Shared Memory Functions */
#define	LS	0x4C53
#define	ST	0x5354

/* Semaphore Functions */
#define	SI	0x5349
#define	PE	0x5045
#define	VE	0x5645

/* Misc. Functions */
#define	GP	0x4750
#define	FK	0x464B
#define EX	0x4558

#endif /* OP_DEFINES_H_ */
